package com.zeus.core.report;

import com.zeus.common.enums.ZeusEventTypeEnum;
import com.zeus.core.open.event.ZeusEvent;

/**
 * 服务启动
 *
 * @author f1ybear_wang  2022/2/23 6:41 下午
 */
public class ZeusReportServiceStartClient extends AbstractSimpleZeusReportClient {

    public ZeusReportServiceStartClient() {
        super();
        this.message = "欢迎使用~";
        this.zeusEvent = ZeusEvent.builder().eventType(eventType()).message("服务启动").build();

    }

    @Override
    public ZeusEventTypeEnum eventType() {
        return ZeusEventTypeEnum.SERVICE_START_EVENT;
    }

    @Override
    public String uniqueCode() {
        // 固定写死，无需这个
        return ZeusEventTypeEnum.SERVICE_START_EVENT.getCode();
    }
}
